IWorkspace.SaveProjectAs method ¶
Namespace: NextDesign.Desktop
Description¶
Saves the specified project with the specified path. If no project is specified, the current project currently opened in the application will be saved. Returns True if the save was successful.
This call will silently overwrite if the file already exists in the specified path. If the save is successful, the target project Path will be replaced with the new path.
argument¶
Name | Type | Description |
---|---|---|
projectPath | string | New project path Null or empty string cannot be specified. |
project | IProject | Project If null is specified, save the current project that the application is currently open. (If there is no current project, nothing is done and False is returned) |
Return value¶
- bool
Exception¶
Name | Exception Class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If null or an empty string is specified for projectPath |
Invalid path | ExtensionInvalidPathException | If the specified path cannot be interpreted as a valid path string |